-
Notifications
You must be signed in to change notification settings - Fork 159
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generalize UFS atmospheric component. Bring in MPAS dycore. #873
base: develop
Are you sure you want to change the base?
Conversation
…ture for CCPP. More CMake modifications
…ture/mpas-dycore-reorg
Reorganize code for MPAS dycore. Isolate FV3 and MPAS pieces.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a quick first pass through the PR with a few small typos/issues I found. I am not sure where the best place is to provide more general feedback on this PR, the ufs-weather-model PR, etc.
I'll post something in respons to the ufs-community/ufs-weather-model PR so that it is more visible to NOAA UFS folks, including those that don't follow the FV3ATM repo.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This submodule pointer update seems invalid
METADATA_HTML_OUTPUT_DIR = '{build_dir}/physics/physics/docs' | ||
|
||
# HTML document containing the model-defined CCPP variables | ||
HTML_VARTABLE_FILE = '{build_dir}/physics/CCPP_VARIABLES_FV3.html' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HTML_VARTABLE_FILE = '{build_dir}/physics/CCPP_VARIABLES_FV3.html' | |
HTML_VARTABLE_FILE = '{build_dir}/physics/CCPP_VARIABLES_MPAS.html' |
? or UFS?
HTML_VARTABLE_FILE = '{build_dir}/physics/CCPP_VARIABLES_FV3.html' | ||
|
||
# LaTeX document containing the provided vs requested CCPP variables | ||
LATEX_VARTABLE_FILE = '{build_dir}/framework/doc/DevelopersGuide/CCPP_VARIABLES_FV3.tex' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LATEX_VARTABLE_FILE = '{build_dir}/framework/doc/DevelopersGuide/CCPP_VARIABLES_FV3.tex' | |
LATEX_VARTABLE_FILE = '{build_dir}/framework/doc/DevelopersGuide/CCPP_VARIABLES_MPAS.tex' |
? or UFS?
Moving this to DRAFT for the time being. |
Description
This pull request contains changes to generalize atmospheric component of the UFS Weather Model:
Refactor the CMakeLists to build an atmospheric component with either an FV3
or MPAS dynamical core.
Add CMakeLists.txt to build MPAS core_atmosphere component. The CMake recipes from the "MPAS atmospheric core" were adapted to work in the UFS build system.
Modify CCPP physics CmakeLists.txt to build independent MPAS/FV3 couplings to the physics.
Create "stub" mpas infrastructure. This includes stubs for the MPAS atmospheric component driver and overlaying NUOPC cap.
With these changes, the MPAS dynamical core builds within UFS.
Next steps, build atmospheric driver for MPAS, which includes creating new typedefs for coupling between the CCPP and MPAS.
Issue(s) addressed
N/A
Testing
Tested on Hera using Intel.
All UFS regression tests pass, see /scratch1/BMC/gmtb/Dustin.Swales/UFS/MPAS/ufs-weather-model/tests/logs/RegressionTests_hera.log
There is a new test in tests/rt.conf to build the MPAS dynamical core (just build, no run)
Dependencies
This PR introduces a new submodule to the UFS atmosphere, the MPAS-Model. A forked copy of the authoritative MPAS-Model has been created under the ufs-community GitHub organization.
Requirements before merging
N/A